import Vue from 'vue'
import App from './App'
import Store from './store' //vuex
import MyNavbarTop from '@/components/myNavbarTop.vue'
import customTabBar from '@/components/customTabBar.vue'
import api from '@/utils/api/index.js'
import util from '@/utils/util.js'
import share from './utils/share.js'
import '@/common/css/index.scss'

Vue.prototype.$api = api
Vue.prototype.$util = util

Vue.$store = Vue.prototype.$store = Store
Vue.config.productionTip = false
Vue.mixin(share)
Vue.component('my-navbar-top', MyNavbarTop)
Vue.component('custom-tab-bar', customTabBar)
App.mpType = 'app'
const app = new Vue({
  ...App,
})
app.$mount()
